﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Data;

namespace HZ.Supervise.IBLL
{
    public interface IBLL_NewStat
    {
        /// <summary>
        /// 月份统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorce_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 每月医院统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorec_HospitalName_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);


        /// <summary>
        /// 企业
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorec_CompanyName_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);


        DataTable DayTime_SortSorec_CompanyNameSC_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 区域统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorec_AreaId_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 类型月份统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSore_SortName_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);


        /// <summary>
        /// 企业配送企业统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorce_Company_GroupBy(object qeurymodel, string strwhere, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 生产企业统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorce_CompanySC_GroupBy(object qeurymodel, string strwhere, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 配送企业统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSore_CompanyPS_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);

        DataTable DayTime_SortSore_CompanySC_GroupBy(object qeurymodel, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 第一层的图片不区分采购类型
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable ReportOfHospitalFirstLevel(object qeurymodel, string strwhere, int currentpage, int pagesize, out int totalrecord);

        /// <summary>
        /// 单月单医院所有采购类型分组统计
        /// </summary>
        /// <param name="qeurymodel"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
        DataTable DayTime_SortSorce_GroupByForHosCurrentGoodsList(object qeurymodel, int currentpage, int pagesize, out int totalrecord);
    }
}
